package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.Product;
import com.red.star.wechat.data.entity.ProductPojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: chenjunliang
 * @Description:
 * @Date: 2018/7/23.
 */
public interface ProductMapper extends MyMapper<Product> {

    public List<ProductPojo> findProductList(ProductPojo productPojo);

    public ProductPojo examineProductList(Integer productId);

    public int updateAuditList(@Param("productIds")List<Integer> productIds, @Param("status")Integer status);

    public List<ProductPojo> findProductPojoById(@Param("productId") Integer productId);
}
